<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登陆</title>
<link rel="stylesheet" type="text/css" href="css/login.css"/>
<script src="js/login.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<div id="all">
		<h1>欢迎使用联系人管理系统</h1>
		<form action="AdminServlet?action=login" method="post" onsubmit="return checkall()">
			<table border="1" cellspacing="0" cellpadding="0">
				<tr>
					<td>用户名：</td>
					<td><input type="text" name="account" id="account" value="" onblur="checkaccount()"/></td>
					<td><font size="" color="red" id="accounthint"></font></td>
				</tr>
				<tr>
					<td>密码：</td>
					<td><input type="password" name="password" id="password" onblur="checkpwd()"/></td>
					<td><font size="" color="red" id="pwdhint"></font></td>
				</tr>
				<tr>
					<td>验证码：</td>
					<td><input type="text" name="code1" id="code1" value="" /></td>
					<td><img src="CheckCodeServlet" alt="验证码加载失败" onclick="changecode()" id="code" ></td>
				</tr>
				<tr>
					<td><input type="submit" value="登陆"/></td>
					<td><input type="checkbox" value="remember" name="remember" id="remember" />记住我</td>
					<td><a href="register.jsp">没有账号，注册</a></td>
				</tr>
			</table>
			
		</form>
		
	</div>
</body>
</html>